package com.ekingstar.framework.domain;

import java.util.List;

import com.opensymphony.xwork2.util.Element;


/**
 * Role entity. @author MyEclipse Persistence Tools
 */
public class Role extends AbstractRole implements java.io.Serializable {

	// Constructors
	private Boolean canUse;
	private Boolean canGrant;
	@Element(RoleDataRight.class)
	private List rowDataRights;
	public List getRowDataRights() {
		return rowDataRights;
	}

	@Element(RoleFunctionParamValue.class)
	private List functionParamValues;
	public List getFunctionParamValues() {
		return functionParamValues;
	}

	public void setFunctionParamValues(List functionParamValues) {
		this.functionParamValues = functionParamValues;
	}

	public void setRowDataRights(List rowDataRights) {
		this.rowDataRights = rowDataRights;
	}

	public Boolean getCanUse() {
		return canUse;
	}

	public void setCanUse(Boolean canUse) {
		this.canUse = canUse;
	}

	public Boolean getCanGrant() {
		return canGrant;
	}

	public void setCanGrant(Boolean canGrant) {
		this.canGrant = canGrant;
	}

	/** default constructor */
	public Role() {
	}

	/** minimal constructor */
	public Role(String id) {
		super(id);
	}

	
}
